package com.charging.business.dao;


import com.charging.business.gantry.Feecalc;

/**
 * 门架计费动态库返回
 *
 * @author JerryLu
 * @date 2024/8/12 11:41
 * @return
 */
public class GantryFee {
    private Feecalc.TradingInfo tradingInfo;
    private Feecalc.FeeInfo feeInfo;
    private Feecalc.FeeInfoByHex feeInfoByHex;
    /**计费模块版本号*/
    private String dllVersion;
    /**交易耗时*/
    private long consumeTime;
    /**计费接口结果*/
    private int feeCalcResult;
    private boolean success;
//    private Integer calcFeeInfoModeType;

    public int getFeeCalcResult() {
        return feeCalcResult;
    }

    public void setFeeCalcResult(int feeCalcResult) {
        this.feeCalcResult = feeCalcResult;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getConsumeTime() {
        return consumeTime;
    }

    public void setConsumeTime(long consumeTime) {
        this.consumeTime = consumeTime;
    }

    public Feecalc.FeeInfo getFeeInfo() {
        return feeInfo;
    }

    public void setFeeInfo(Feecalc.FeeInfo feeInfo) {
        this.feeInfo = feeInfo;
    }

    public Feecalc.TradingInfo getTradingInfo() {
        return tradingInfo;
    }

    public void setTradingInfo(Feecalc.TradingInfo tradingInfo) {
        this.tradingInfo = tradingInfo;
    }

    public String getDllVersion() {
        return dllVersion;
    }

    public void setDllVersion(String dllVersion) {
        this.dllVersion = dllVersion;
    }

    public Feecalc.FeeInfoByHex getFeeInfoByHex() {
        return feeInfoByHex;
    }

    public void setFeeInfoByHex(Feecalc.FeeInfoByHex feeInfoByHex) {
        this.feeInfoByHex = feeInfoByHex;
    }

//    public Integer getCalcFeeInfoModeType() {
//        return calcFeeInfoModeType;
//    }
//
//    public void setCalcFeeInfoModeType(Integer calcFeeInfoModeType) {
//        this.calcFeeInfoModeType = calcFeeInfoModeType;
//    }

//    @Override
//    public String toString() {
//        return "GantryFee{" +
//                "tradingInfo=" + tradingInfo.toString() +
//                ", feeInfo=" + feeInfo.toString() +
//                ", feeInfoByHex=" + feeInfoByHex.toString() +
////                ", calcFeeInfoModeType=" + calcFeeInfoModeType +
//                ", dllVersion='" + dllVersion + '\'' +
//                ", consumeTime=" + consumeTime +
//                ", feeCalcResult=" + feeCalcResult +
//                ", success=" + success +
//                '}';
//    }
}
